Use dh-sequence-python3, pyproject
authorBoyuan Yang <byang@debian.org>
Sat, 3 Aug 2024 23:08:10 +0000 (19:08 -0400)
committerBoyuan Yang <byang@debian.org>
Sat, 3 Aug 2024 23:08:10 +0000 (19:08 -0400)
debian/changelog
debian/control
debian/rules

index 28afc03f2656ab78070b52e6c465d5d90b8bc38d..72348c0fdcd161723d357d78207b743e68b773c5 100644 (file)
@@ -1,3 +1,13 @@
+opencc (1.1.8+ds1-3) unstable; urgency=medium
+
+  * Upload to unstable. Closes: #1077816
+  * debian/control: Move main description to source package section.
+  * debian/control: Add new build-dependency pybuild-plugin-pyproject.
+  * debian/control: Use dh-sequence-python3.
+  * debian/rules: Use pyproject instead of distutils for pybuild.
+
+ -- Boyuan Yang <byang@debian.org>  Sat, 03 Aug 2024 19:07:26 -0400
+
 opencc (1.1.8+ds1-2) experimental; urgency=medium
 
   * Team upload
index b5cde12af592ea4cfd4981836a9705952e31c208..ffe819eff0a21b6bc124d673f405f7eca603f995 100644 (file)
@@ -14,7 +14,7 @@ Build-Depends:
  cmake,
  darts,
  debhelper-compat (= 13),
- dh-python,
+ dh-sequence-python3,
  doxygen <!nodoc>,
  googletest <!nocheck>,
  libmarisa-dev,
@@ -24,6 +24,7 @@ Build-Depends:
  pybind11-dev,
  python3-dev,
  rapidjson-dev,
+ pybuild-plugin-pyproject,
  python3-setuptools,
  python3-wheel,
 Standards-Version: 4.6.2
index 05f4cac780f5ea4ba5aef3f49f79958410afb204..c84c4b2d52eaeec24efcfe95d8717c04926f3d6d 100755 (executable)
@@ -11,7 +11,7 @@ include /usr/share/dpkg/architecture.mk
 # Disable parallel build to circumvent some random build error
 # (needs further investigation)
 %:
-       dh $@ --with python3 --buildsystem=cmake --no-parallel
+       dh $@ --buildsystem=cmake --no-parallel
 
 BUILD_OPTIONS = \
     -DCMAKE_INSTALL_PREFIX=/usr \